<template>
    <div>
        <h1>添加检测记录</h1>
        <el-form ref="form"  :model="form" label-width="120px">
            <el-form-item label="检测时间：">
                <el-date-picker
                v-model="value1"
                type="date"
                placeholder="检测时间" class="box">
                </el-date-picker>
            </el-form-item>
            <el-form-item label="核酸检测结果：">
                <el-radio v-model="radio" label="1">阳性</el-radio>
                <el-radio v-model="radio" label="2">阴性</el-radio>
            </el-form-item>
            <el-form-item label="CT检测结果:">
            <el-radio v-model="radio" label="1">阳性</el-radio>
            <el-radio v-model="radio" label="2">阴性</el-radio>
            </el-form-item>
            <el-form-item>
                    <el-button type="primary" @click="onSubmit">提交</el-button>
                    <el-button>取消</el-button>
            </el-form-item>
        </el-form>

    </div>
</template>
<script>
  export default {
    data () {
      return {
        radio: '2',
        form:{},
        value1:''
      };
    },
    methods:{
      onSubmit() {
        console.log('submit!');
      },
      handleChange(value) {
        console.log(value);
      },
  }
  }
</script>